package com.love.marriage.liveStreamingConfig.mapper;

import com.love.marriage.liveStreamingConfig.entity.LiveStreamingConfig;
import com.love.marriage.liveStreamingConfig.vo.LiveStreamingConfigVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import com.love.marriage.common.interfaces.permission.DataPermission;

/**
 * description:  用户直播配置表 mapper
 * author:       alex
 * createDate:   2024-12-14 22:52:57
 * version:      1.0.0
 */
@Mapper
public interface LiveStreamingConfigMapper extends BaseMapper<LiveStreamingConfig> {

    @DataPermission(table = "live_streaming_config_t")
    Page<LiveStreamingConfigVo> getPage(Page<LiveStreamingConfigVo> page, @Param("liveStreamingConfigVo") LiveStreamingConfigVo liveStreamingConfigVo);

    LiveStreamingConfigVo queryLiveStreamingConfig(@Param("id") Long id);
}
